package com.itheima.static_case.Demo3;

public class Student {
    static String name;
    static int age;

    static {
        // 静态代码块
        System.out.println("这里是静态代码块。。");
        // 初始化执行
        name = "yes ";
        age = 98;
    }
}
